package com.shuke.my_test.easyPoi.controller;


import com.shuke.my_test.easyPoi.service.UserService;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 舒克、舒克
 * @date 2025/7/3 11:21
 * @description
 */
@RestController("/user")
public class UserController {

    @Autowired
    private UserService userService;

    @RequestMapping("/export")
    public void exportUser(HttpServletResponse response)
    {
        userService.exportUser(response);
    }
}
